home *** CD-ROM | disk | FTP | other *** search
- 2<END>
- ReadMe,1,4,0,<TEXT>SoundLib 1.0 is a REALbasic plug-in that has some sound and speech features.
- Made by Jonatan Uppström (Hanland Software) , uppstrom@swipnet.se Use it as much as you want for free!!!
- Please visit the Hanland Software website: http://home5.swipnet.se/~w-53123/hanland.html</TEXT>
- <END>
- Methods,2,2,4<TEXT></TEXT><END>
- SoundRecord,2,<TEXT>Syntax: sound = SoundRecord(x,y,quality,size)
- The SoundRecord function will open the MacOS standard sound recording dialog so the user can record a sound into <I>sound</I>.
-
- x (Integer) The horizontal coordinate of the dialog.
- y (Integer) The vertical coordinate of the dialog.
- quality (Integer) The quality of the recorded sound. 0 = Good, 1 = Better, 2 = Best. Best quality take up more memory than Good.
- size (Integer) The size of the memory that SoundRecord shall record to. (In bytes) The more bytes - the longer recording time.
-
- <B>WARNING:</B> RecordSound may crash your computer if you use a beta version of REALbasic!
- <END>
- GetSVolume,2,<TEXT>Syntax: integer = GetSVolume()
- The GetSVolume functions has no parameters and it will return the current system volume.<END>
- SetSVolume,2,<TEXT>Syntax: SetSVolume volume
- SetSVolume will set the sound volume. <I>volume</I> is an integer with the value 0 - 6.<END>
- SndSpeakString,2,<TEXT>Syntax: SndSpeakString string
- SndSpeakString will speak the text in <I>string</I> with the regular voice. Voice control may be available in future versions of SoundLib.<END>
-